﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityValue
{
    public class MyDbContext : DbContext
    {
        public MyDbContext()
            : base("MyDb")
        {
            Database.SetInitializer<MyDbContext>(new DropCreateDatabaseIfModelChanges<MyDbContext>());
        }
        public DbSet<MyEntity> MyEntities { get; set; }
        public DbSet<YourEntity> YourEntities { get; set; }
        
    }
}
